home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.suse      Suse is actually not that bad      138,051 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 136,290 of 138,051   
   Sidney_Kotic to William Unruh   
   Re: USB automount   
   14 May 17 21:19:59   
   
   From: kant@have.it   
      
   On 05/13/2017 10:01 AM, William Unruh wrote:   
      
   > Probably a good idea before you use that usb attached drives to test if   
   > they are mounted, and to try to mount them if not.   
      
   Currently I do this for my backup cronjob.  Depending on what USB devices are   
   attached some directories may or may not be rsync'd to it, depends on what   
   label   
   it finds on the USB.  Actually what I plan on doing with the 1TB is backup   
   across the network from my desktop.  I figure I can get about 3 months of   
   backups on it before I start flushing old ones.  Or at least that's my   
   thinking.   
     The 3TB is a copy of some of the more important stuff on the 4TB.   
      
   I looked at the etc/fstab before and after the login process, before the USB   
   device isn't shown via a "df" command, after login it is.  In either case the   
   fstab is the same, and the USB device isn't shown.  So I thought logout and   
   check to see if the USB device is still there, it was (I was elated).  But on   
   reboot it was not there, had a beer and pondered.   
      
   Discovered that, as root, I could run a lsblk command and it would give me   
   something to work with.  Meaning I'm probably gonna write a little script to be   
   run in the /etc/init.d/after.local and do all of the mounts there to the /mnt   
   directory (old school).   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca