From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 26 18:19:08 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EAE18AC0 for ; Mon, 26 Jan 2015 18:19:07 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D257E840 for ; Mon, 26 Jan 2015 18:19:07 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t0QIJ7Wb073047 for ; Mon, 26 Jan 2015 18:19:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 197023] sysutils/automount 1.4.3 does not work under FreeBSD 10.1 Date: Mon, 26 Jan 2015 18:19:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vermaden@interia.pl X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2015 18:19:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197023 --- Comment #7 from vermaden@interia.pl --- > and more importantly - start the disk check > e2fsck -y and so I lost the data on it. cool. Its not an excuse but that is sometimes cost of automation :/ The file(1) is not perfect for filesystem detection. I may also introduce a 'NOFORCE] option to not force the check? You may check the latest 1.5.2 with reworked filesystem detection. The UFS is tried two times because that works best, its tricky (right guess of the filesystem) because if You create two of three new filesystems on the same device without cleaning it with /dev/zero then file(1) shows more then one filesystem detected, 1.5.2 should not be problematic now, but I for sure did not tested every possible configuration out there: # newfs_msdos /dev/md0p1 newfs_msdos: trim 4 sectors to adjust to a multiple of 9 /dev/md0p1: 163712 sectors in 10232 FAT16 clusters (8192 bytes/cluster) BytesPerSec=512 SecPerClust=16 ResSectors=1 FATs=2 RootDirEnts=512 Media=0xf0 FATsecs=40 SecPerTrack=9 Heads=128 HiddenSecs=0 HugeSectors=163836 # newfs /dev/md0p1 /dev/md0p1: 80.0MB (163840 sectors) block size 32768, fragment size 4096 using 4 cylinder groups of 20.03MB, 641 blks, 2688 inodes. super-block backups (for fsck_ffs -b #) at: 192, 41216, 82240, 123264 # file -k -r -b -L -s /dev/md0p1 DOS/MBR boot sector, code offset 0x3c+2, OEM-ID "BSD4.4 ", sectors/cluster 16, root entries 512, sectors/FAT 40, sectors/track 9, heads 128, sectors 163836 (volumes > 32 MB) , serial number 0x791819df, unlabeled, FAT (16 bit) - Unix Fast File system [v2] (little-endian) last written at Thu Jan 1 00:00:00 1970, number of blocks 0, number of data blocks 0, average file size 0, average number of files in dir 0, pending blocks to free 0, pending inodes to free 0, system-wide uuid 0, DOS executable (COM), boot code # mkfs.ext3 /dev/md0p1 mke2fs 1.42.12 (29-Aug-2014) /dev/md0p1 contains a vfat file system Proceed anyway? (y,n) y Creating filesystem with 81920 1k blocks and 20480 inodes Filesystem UUID: b1b58de6-efc2-4531-8576-e732a272d6dd Superblock backups stored on blocks: 8193, 24577, 40961, 57345, 73729 Allocating group tables: done Writing inode tables: done Creating journal (4096 blocks): done Writing superblocks and filesystem accounting information: done # newfs /dev/md0p1 /dev/md0p1: 80.0MB (163840 sectors) block size 32768, fragment size 4096 using 4 cylinder groups of 20.03MB, 641 blks, 2688 inodes. super-block backups (for fsck_ffs -b #) at: 192, 41216, 82240, 123264 # file -k -r -b -L -s /dev/md0p1 Unix Fast File system [v2] (little-endian) last written at Thu Jan 1 00:00:00 1970, number of blocks 0, number of data blocks 0, pending blocks to free 0, system-wide uuid 0, - Linux rev 1.0 ext3 filesystem data, UUID=b1b58de6-efc2-4531-8576-e732a272d6dd -- You are receiving this mail because: You are the assignee for the bug.