Reputation: 31
I have a UFS partition of unknown type. I would like to know what type of UFS it is from Linux (it could be any). Is there a tool (library) for Linux or method which can solve my problem. I know I can try to mount all types, but this message stops me:
>>> WARNING Wrong ufstype may corrupt your filesystem, default is ufstype = old
Tell me please is there a safe way to mount unknown UFS type partition?
Upvotes: 3
Views: 2408
Reputation: 1
You might run as root
file -s -L /dev/sda5
if /dev/sda5
is the disk partition. The file(1) command should tell more about the data on that partition, in particular if it is some file system data.
One you know more about that partition, you could mount it in a safer way. BTW, I would mount it as read-only first.
Upvotes: 3