Re: [Server-devel] automount external HD

2010-10-18 Thread Martin Langhoff
On Mon, Oct 18, 2010 at 2:56 PM, Sameer Verma sve...@sfsu.edu wrote: I haven't tested it, but if you create 92-mount.rules (or whatever 90 something is available) in /etc/udev/rules.d with this... SUBSYSTEM==block, run+=/bin/mount -a It's a clever move, but after thinking about it, it is

Re: [Server-devel] automount external HD

2010-10-18 Thread Martin Langhoff
On Thu, Oct 14, 2010 at 1:15 AM, Sameer Verma sve...@sfsu.edu wrote: I am using XS-on -XO1 version 0.6. Excellent! I want to use an external USB hard drive and mount it as /library at boot time. I have added a line in /etc/fstab /dev/sda1   /library    ext3   defaults   0  0 as others have

Re: [Server-devel] automount external HD

2010-10-16 Thread Sameer Verma
On Thu, Oct 14, 2010 at 3:20 PM, Martin Langhoff martin.langh...@gmail.com wrote: On Thu, Oct 14, 2010 at 1:15 AM, Sameer Verma sve...@sfsu.edu wrote: Any ideas? I think you can configure usbmount to make a special case of your external disk. Note that you'll have to copy all the data from

Re: [Server-devel] automount external HD

2010-10-16 Thread Martin Langhoff
On Sat, Oct 16, 2010 at 2:00 AM, Sameer Verma sve...@sfsu.edu wrote: something up, or do I mess with /etc/usbmount/usbmount.conf? Not sure IIRC -- haven't looked at usbmount code or docs in a while... you should be able to config usbmount to recognize that drive somehow and mount it in a

Re: [Server-devel] automount external HD

2010-10-16 Thread Anna
If you've got an /etc/fstab entry for the drive, you could tell udev to mount it. I think this'll require the auto option in fstab. I haven't tested it, but if you create 92-mount.rules (or whatever 90 something is available) in /etc/udev/rules.d with this... SUBSYSTEM==block, run+=/bin/mount

Re: [Server-devel] automount external HD

2010-10-14 Thread James Cameron
On Wed, Oct 13, 2010 at 10:15:55PM -0700, Sameer Verma wrote: I want to use an external USB hard drive and mount it as /library at boot time. I have added a line in /etc/fstab /dev/sda1 /libraryext3 defaults 0 0 Might you instead mount by UUID or LABEL? However, this won't mount

Re: [Server-devel] automount external HD

2010-10-14 Thread Sameer Verma
On Wed, Oct 13, 2010 at 11:19 PM, James Cameron qu...@laptop.org wrote: On Wed, Oct 13, 2010 at 10:15:55PM -0700, Sameer Verma wrote: I want to use an external USB hard drive and mount it as /library at boot time. I have added a line in /etc/fstab /dev/sda1   /library    ext3   defaults   0  

Re: [Server-devel] automount external HD

2010-10-14 Thread Jerry Vonau
On Thu, 2010-10-14 at 00:24 -0700, Sameer Verma wrote: On Wed, Oct 13, 2010 at 11:19 PM, James Cameron qu...@laptop.org wrote: On Wed, Oct 13, 2010 at 10:15:55PM -0700, Sameer Verma wrote: I want to use an external USB hard drive and mount it as /library at boot time. I have added a line in