HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] directory structure in Debian package (Was: kill time parameter)



Am 2005.06.14 00:25 schrieb(en) Giuseppe Sacco:
I replied to the same message, already.

Hello Giuseppe,


I saw your answer just after sending mine.

But I think that the --bind option was never really inspected.

Until Aidan's message I did not know this option exists.


The main reason while I am reluctant is that I don't know if this
could work on any debian architecture. I checked that it works for 2.4 and 2.6 kernels. Will this work on the Hurd? What about m68k systems with 2.2 linux kernels?

The man page of mount says: Since Linux 2.4.0 it is possible to remount part of the file hierarchy somewhere else. The call is mount --bind olddir newdir

No clue about Hurd.

So, it may be a good idea to switch using --bind on 4.2.2 debian
package: this would remove the dual directory stuff.

Any other comment?

The startup script could try to use "mount --bind ..." and fall back to copying the files if that fails.


It will get more difficult if the user installs hylafax-server on a 2.2 kernel and then upgrades to a 2.4 or 2.6 kernel. Should the script remove the files already copied? Maybe in this case the script can try to mount --bind to a different directory and if that succeeds, remove the copied files and mount --bind to the real target dir.


Bodo


____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions