New IT forum
12 August 2022, 04:04:44 pm *
Welcome, %1$s. Please login or register.

: PiHub now in stock.
 
Pages: [1]

Author Topic: automatically mount E-sata disk at startup  (Read 5587 times)

rmentjens

  • Newbie
  • *
  • Posts: 29
automatically mount E-sata disk at startup
« on: 18 August 2010, 12:54:11 pm »

I have a WDcaviar in an esata enclosure connected to my Guruplug. Until now i mounted the drive "by hand": mount /dev/sda1 /mnt

Can anyone tell me how to automatically mount this harddrive at startup.

thnx
Logged

NewIT_Marcus

  • Hero Member
  • *****
  • Posts: 960
Re: automatically mount E-sata disk at startup
« Reply #1 on: 18 August 2010, 05:13:18 pm »

Edit /etc/fstab - see, for example http://www.tuxfiles.org/linuxhelp/fstab.html

If you expect to be hotplugging, you could also consider udev.
Logged

rmentjens

  • Newbie
  • *
  • Posts: 29
Re: automatically mount E-sata disk at startup
« Reply #2 on: 19 August 2010, 09:02:47 am »

thanx fstab works
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!