c5f4
![]() |
|
|
|
|
|||||||
| General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I converted a FreeBSD 6.2 system to 8.2, with a couple of data drives that supposedly would "move over". However I found that bsdlabel complained about the partitioning of these drives and then fsck reported
Code:
cannot determine filesystem type As it turns out, running fsck_ffs instead worked fine and the drives mounted okay. I gather that between 6.2 and 8.2, fsck tried to get "smarter" but not smart enough to figure out to use fsck_ffs with these drives. Also the use of the 'c' partition is now (weakly) prohibited. It would be nice to be able to "restore" 8.2 fsck's ability to realize that these are FFS filesystems. Any clues as to how? (I guess I could read the code to see what it is trying to test.) Last edited by DutchDaemon; June 30th, 2011 at 18:09. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043 |
|
#2
|
||||
|
||||
|
Use the -t flag.
$ fsck -t ufs /dev/da0(Don't remember if ufs was in lowercase or uppercase, probably lowercase) Last edited by DutchDaemon; June 30th, 2011 at 18:09. |
|
#3
|
|||
|
|||
|
See this thread http://lists.freebsd.org/pipermail/f...ne/011662.html
|
| The Following User Says Thank You to acheron For This Useful Post: | ||
monkeyboy (June 30th, 2011) | ||
|
#4
|
|||
|
|||
|
Thanks, I get it now, although not sure why dumpfs can figure these things out, but fsck needs to look in fstab when a filesystem may very well not be in there. I guess you could argue the read vs read/write/destroy issue, but presuming that fstab is actually correct doesn't seem much better.
Last edited by DutchDaemon; June 30th, 2011 at 18:47. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043 |
|
#5
|
|||
|
|||
|
Yes, it is a bit annoying that fsck in 8.2 (or perhaps this started in 8.1, I don't remember) can't figure this out on its own, while it did in all previous releases. It could be argued that this change is a POLA violation, too.
__________________
Torfinn Last edited by DutchDaemon; July 3rd, 2011 at 02:16. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] fsck in single mode VS fsck in multiuser mode | mdaocus | System Hardware | 10 | October 14th, 2010 07:53 |
| [Solved] Can I run fsck to check filesystem consistency in multi user model? | fender0107401 | General | 2 | April 20th, 2010 16:14 |
| Could not determine audit condition | efmoya | Installing & Upgrading | 0 | February 19th, 2010 19:43 |
| [Solved] (grub) FBSD + WinXP - Filesystem type unknown | thehobbit | Installing & Upgrading | 10 | December 18th, 2009 05:49 |
| [Solved] Determine which CF file sendmail is using | dpalme | Web & Network Services | 2 | November 18th, 2009 04:24 |