Re: [Server-devel] automount external HD

2010-10-18 Thread Martin Langhoff
On Thu, Oct 14, 2010 at 1:15 AM, Sameer Verma 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 noted, you

Re: [Server-devel] automount external HD

2010-10-18 Thread Martin Langhoff
On Mon, Oct 18, 2010 at 2:56 PM, Sameer Verma 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 actually

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-16 Thread Martin Langhoff
On Sat, Oct 16, 2010 at 2:00 AM, Sameer Verma 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 particular mountpoint

Re: [Server-devel] automount external HD

2010-10-15 Thread Sameer Verma
On Thu, Oct 14, 2010 at 3:20 PM, Martin Langhoff wrote: > On Thu, Oct 14, 2010 at 1:15 AM, Sameer Verma 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 the > preexisting /library ! Make the

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 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/fs

Re: [Server-devel] automount external HD

2010-10-14 Thread Sameer Verma
On Wed, Oct 13, 2010 at 11:19 PM, James Cameron 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  0 > > Mi

Re: [Server-devel] automount external HD

2010-10-13 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 m

[Server-devel] automount external HD

2010-10-13 Thread Sameer Verma
I am using XS-on -XO1 version 0.6. 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 However, this won't mount at boot time. I have to unplug and replug the drive to mount it, and then