You are viewing davidrusling

hong kongdavidrusling wrote
on December 7th, 2012 at 10:28 am

If it's there, mount it

I've been trying to sort out my build environment; I've been using a USB disk (as in spinning), mounting it by hand as the home directory of a separate development account.  Wouldn't it be better, I thought, to mount the disk when it's there and ignore it otherwise.  Guess what?   You can, /etc/fstab now looks like:

UUID=a7ad21a6-6458-4d33-bc80-c87e189ca798 /home/david ext4 nofail,auto,errors=remount-ro 0 1

Note: you could use the disk name, but using the UID is more portable. 

(Read Comments)

No HTML allowed in subject

  
 
   
 

Notice! This user has turned on the option that logs your IP address when posting. 

hong kong

October 2014

S M T W T F S
   1234
567891011
12131415161718
19202122232425
262728293031 
Powered by LiveJournal.com