Re: [Bacula-users] mount USB disk

2005-08-23 Thread Alan Brown
On Thu, 18 Aug 2005, Daniel Bloemer wrote: Hello, Alan Brown wrote: Each usb mass stoarge device has a unique serial number - this can be mapped to a fixed mount point. Not every usb-device has this. Some Chips just return vendor- and productID . :-( Anything which does this is arguab

Re: [Bacula-users] mount USB disk

2005-08-19 Thread Josh Fisher
This subject interests me because I would like to use USB hard drives in place of AIT tapes for daily backups and use the AIT tapes for offsite backups. Perhaps a RunBeforeJob is not needed. It seems it should be possible to use a combination of udev, hal/dbus, and hotplug to insert a USB driv

Re: [Bacula-users] mount USB disk

2005-08-19 Thread Daniel Bloemer
Hello, Alan Brown wrote: Each usb mass stoarge device has a unique serial number - this can be mapped to a fixed mount point. Not every usb-device has this. Some Chips just return vendor- and productID . :-( If the formatted volume on the device has been named, it should be mounted to

Re: [Bacula-users] mount USB disk

2005-08-19 Thread Daniel Bloemer
Hello, Josh Fisher wrote: A RunBeforeJob script could mount the device with a simple mount command. It could also tell if the drive was inserted by testing whether or not the mountpoint existed. A RunAfterJob could unmount the device just as easily. Of course, if multiple drives were being use

Re: [Bacula-users] mount USB disk

2005-08-18 Thread Josh Fisher
Daniel Bloemer wrote: Hello, Josh Fisher wrote: A RunBeforeJob script could mount the device with a simple mount command. It could also tell if the drive was inserted by testing whether or not the mountpoint existed. A RunAfterJob could unmount the device just as easily. Of course, if multi

Re: [Bacula-users] mount USB disk

2005-08-17 Thread Alan Brown
On Thu, 11 Aug 2005, Daniel Bloemer wrote: Assuming you're using a linux system, why not allow hotplug and subfs to do this for you automagically? I am working on a similiar solution here. The problem is, that the hotplug-agent doesnt mount the USB-Harddisc on a fixed mountpoint. I tried to

Re: [Bacula-users] mount USB disk

2005-08-15 Thread Joshua Kugler
On Thursday 11 August 2005 02:13, Daniel Bloemer wrote: > Hi, > > Alan Brown wrote: > > On Sun, 7 Aug 2005, Mick wrote: > >> I use an USB disk as backup target for Bacula. It works fine. But there > >> is one issue: I want to mount it immediatly before the backup and > >> unmount it afterwards. The

Re: [Bacula-users] mount USB disk

2005-08-15 Thread Josh Fisher
This can be done with UDEV. On Fedora Core 3 I created a file under /etc/udev/rules.d named 20-jumpdrive.rules with the following line: KERNEL="sd?1*", SYSFS{vendor}="LEXAR", SYSFS{model}="JUMPDRIVE SECURE", NAME="%k", SYMLINK="jumpdrive%e" This causes my Lexar JumpDrive (USB thumbdrive devic

Re: [Bacula-users] mount USB disk

2005-08-15 Thread Daniel Bloemer
Hi, Alan Brown wrote: On Sun, 7 Aug 2005, Mick wrote: I use an USB disk as backup target for Bacula. It works fine. But there is one issue: I want to mount it immediatly before the backup and unmount it afterwards. There is even a mount option for the config file (sd.config I think), but this

Re: [Bacula-users] mount USB disk

2005-08-08 Thread Alan Brown
On Sun, 7 Aug 2005, Mick wrote: I use an USB disk as backup target for Bacula. It works fine. But there is one issue: I want to mount it immediatly before the backup and unmount it afterwards. There is even a mount option for the config file (sd.config I think), but this option is not allowed fo

[Bacula-users] mount USB disk

2005-08-08 Thread Mick
Hi, I use an USB disk as backup target for Bacula. It works fine. But there is one issue: I want to mount it immediatly before the backup and unmount it afterwards. There is even a mount option for the config file (sd.config I think), but this option is not allowed for a harddisk. I place the mou