Date: Thu, 10 Sep 2015 10:40:34 +0200 From: Polytropon <freebsd@edvax.de> To: Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org> Cc: freebsd-questions@freebsd.org Subject: Re: xenix (sysv) filesystem and FreeBSD Message-ID: <20150910104034.b3439c2c.freebsd@edvax.de> In-Reply-To: <55F13B5A.3070408@pahlevanzadeh.org> References: <55F13B5A.3070408@pahlevanzadeh.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Sep 2015 12:42:10 +0430, Mohsen Pahlevanzadeh wrote: > I have a hdd (scsi), about 1985. I can detect hdd and geometry, But > maybe linux kernel removed xenix (sysv) filesytem. > Question is , 1. Can i detect it via freebsd? You should at least _try_ it. Depending on the partitioning, and if I remember correctly, Xenix uses some strange SCI HTFS and maybe UFS (not entirely sure), and the partitioning is either some MBR or "dedicated" schema, then, if everything else works, you should see: /dev/da0 /dev/da0s1 <- a slice /dev/da0s1a <- a partition /dev/da0s1d /dev/da0s1e and so on, or maybe even /dev/da0 /dev/da0a <- a partition without a slice /dev/da0d /dev/da0e and so on, if, let's say, da0 corresponds to the SCSI disk. Use the command # fdisk da0 to find out which partitioning schema (if any) has been used, and then maybe # disklabel da0 or # disklabel da0s1 to identify the partitions. Kepp an eye on which files appear in /dev. > 2. Can I read xenix (sysv) > filesytem ? You could try "mount -t ufs -o ro <device> /mnt" for each of the partitions found, but this will probably fail. However, you can use a "dump | restore" approach, maybe this works. If not, you can at least resort to forensic tools which will read the data independently from the file system information; you might lose file names, but you can recover file contents. This can be done in "raw reads" from the disk device. But as far as I know, _native_ support for classic SysV file systems does not exist on FreeBSD, nor does it on any other platform. It's an excavation job for the mantally insane. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150910104034.b3439c2c.freebsd>