Simple usage question

From: Adam Lang <thalen_at_cs.pdx.edu>
Date: Thu 16 Dec 2004 - 22:54:15 CET
Message-Id: <078A5673-4FAD-11D9-9864-000A95A51B70@cs.pdx.edu>

I'm screwing around with doing rsyncs on a linux machine to firewire.
These are some really simple usage questions, but things have changed a
lot since the last time I tried doing most of this stuff on the 2.4
kernel.

Here are the things I want to do.

1) I want to plug in the hard drive, but not have it mount (so that if
I just unplug it before the rsync script has run, nothing untoward will
happen. Yes, I know, ext3 is journalled and 100% safe and blah blah
blah. Call me old-fashioned, I don't like removing file systems
without unmounting them.)

2) My rsync script will run at midnight. I want the first thing in the
rsync script to be a command to mount the drive. (Presumably mount -t
ext3 /dev/sda1 /mnt/fwa1)

3) I want to cleanly unmount the drive and prepare it for removal at
the end of the rsync script. (Presumably just umount /mnt/fwa1)

So, really, the only question is how to accomplish 1 without doing
silly things like unloading kernel modules. Which was what I had to do
when I was using the 2.4 kernel.

--Adam Lang

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
Received on Thu Dec 16 22:56:53 2004

This archive was generated by hypermail 2.1.8 : Mon 02 May 2005 - 09:16:51 CEST