Re: how to automount usb drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



At Fri, 26 Mar 2010 10:14:59 +1100 CentOS mailing list <centos@xxxxxxxxxx> wrote:

> 
> 
> adjust the following to your needs
> 
>   /dev/sdd1 /mnt/usb ext3 dev,auto,nouser,rw,sync   0 0
> 
> 
> Just be careful on boot up, I had trouble on boot when the drive 
> was already connected ... it wasnt recognized. I had to put up a boot
> delay onto the kernel command line to make sure the drivers
> where all awake when the mounts occur.

The OP might also want to label the file system and use the 'LABEL='
option instead of /dev/sd<mumble> -- this will allow things to work
properly in the event that the USB drive gets mapped to a different
SCSI id for some reason (maybe someone put in a thumb drive or camera
or something).

> 
> Jobst
> 
> 
> 
> 
> On Thu, Mar 25, 2010 at 03:52:29PM -0700, Bazooka Joe (fastfish@xxxxxxxxx) wrote:
> > I have a server with no desktop - just cli that i need to have a user
> > plug in a usb hd and would like it to automount to a consistent
> > directory so I can schedule a backup.  The user can rotate the usb
> > drives and it all just works.
> > 
> > Any ideas how automate so that say /media/backup mounts to any usb
> > harddrive and unmounts cleanly?
> > 
> > -thx
> > bazooka
> > _______________________________________________
> > CentOS mailing list
> > CentOS@xxxxxxxxxx
> > http://lists.centos.org/mailman/listinfo/centos
> 

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller@xxxxxxxxxxxx       -- http://www.deepsoft.com/ModelRailroadSystem/
                                                                                              
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux