Autodetecting fs in mount cmd

Alex Hornung ahornung at gmail.com
Thu Jan 27 13:57:18 PST 2011


On 27/01/11 21:49, elekktretterr at exemail.com.au wrote:
> I wish we could just do:
>
> mount /dev/acd0 /mnt/cd
>
> and it would find out what filesystem is on acd0 and succeed(like in
> Linux) instead of specifying the type on the command line. Is this hard to
> do?

That's what I wrote libfsid for, amongst other things. It is a pretty
trivial task to do with this library.

Regards,
Alex





More information about the Users mailing list