Re: "mount :not a directory" dvd mount problems
> createfilelist.sh | cpio -o | mkisofs -stream-media-size <N> |
> growisofs -Z /dev/scd0=/dev/fd/0
> # mount /dev/scd0 /mnt/dvd/
> mount: not a directory
> PS: Im fully sure that /mnt/dvd exists and can be mounted on. The
> trouble really just arises when N is 2295104.
Looks like you tell mkisofs to produce a filesystem with
a file of more than 4 GB.
I remember to have read about a 4GB limit of current mkisofs
for single files (not for the whole filesystem).
In general it is wise to keep files within an ISO filesystem
smaller than 2 GB minus a few kB. At least test well wether
larger files are readable correctly on all computers where
you might want to read them.
Have you considered to skip the ISO wrap and to write
your cpio archive directly to media ?
createfilelist.sh | cpio -o | growisofs -Z /dev/scd0=/dev/fd/0
Not mountable but should be readable by cpio -i </dev/dvd
I use afio that way.
Have a nice day :)