View Single Post
Old 19th August 2014
Smith Smith is offline
Port Guard
 
Join Date: Apr 2012
Posts: 14
Default

Quote:
Originally Posted by jggimi View Post
I think your creation of an FFS filesystem may have overlaid your NTFS partition:
Code:
newfs -b 4096 /dev/rsd0a 
/dev/rsd0a: 0.2MB in 328 sectors of 4096 bytes
You would indeed think, but somehow it was not. I just plugged the drive into a windows machine and the drive just appeared as usual, with any files intact. I also ran a filesystem check on this volume from within windows and it's clean ('Disk check complete'). I am not sure why newfs indicates 328 sectors of 4096 bytes (comes to about 1.28 mb) when df -h says 128kb on the mounted file system (which is a little more consistent with the 48 sectors * 4096 bytes = 192 kb I thought i had allocated)

I had to add the '-b 4096' to even get newfs to make such a puny filesystem. I'm sure it's fairly uncommon that anyone would make a 192 kb filesystem on a drive with 4096 byte sectors..
Reply With Quote