-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello dear list,

My FreeBSD 6.0 has several Jails, all running fine.

One of the Jails has installed Bacula Backup Software. And for its File
Deamon (the backup storage server) I would like to mount and unmount the
backup device (an external USB disk) inside the jails /mnt/ directory.

But somehow ...

# mount /dev/da0s1d /mnt

.. keeps telling me "mount: /dev/da0s1d: Operation not permitted"

There is no problem mounting and using the disk from outside the jail.
If understood things right this has to do with /etc/devfs.rules so my
settings ther are:

...
#
# Devices usually found in a jail.
#
[devfsrules_jail=4]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
#
# Devices for backup storage jail.
#
[devfsrules_backup_jail=5]
add include $devfsrules_jail
add path 'da*s*' unhide

and my jail deifintion in /etc/rc.conf looks like this:

...
# Backup Storage Server
jail_backup_rootdir="/jails/backup"
jail_backup_hostname="backup.k18.ch"
jail_backup_ip="192.168.30.46"
jail_backup_exec="/bin/sh /etc/rc"
jail_backup_devfs_enable="YES"
jail_backup_devfs_ruleset="devfsrules_backup_jail"
...

Any suggestions? Or is *mount* not possible at all in Jails? Or I am
completly lost?

Greetings.
Alain




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFQ81TV5MZZmyxvGgRAiybAJ4zItY64Kq+7CUpfAFhbTEQBHY0GACg1P25
twNSOImWFfhSCUC7+0PHCMA=
=nT0j
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to