View Single Post
  #3   (View Single Post)  
Old 8th February 2014
divel divel is offline
Port Guard
 
Join Date: Nov 2013
Location: Madrid, Spain
Posts: 14
Default As example

Code:
# automount --version
automount 1.4.3 2013/03/13

# cat /var/log/automount.log
2014-02-09 00:15:24 /dev/da4: attach
2014-02-09 00:15:24 /dev/da4: filesystem not supported or no filesystem

# fdisk /dev/da4
******* Working on device /dev/da4 *******
parameters extracted from in-core disklabel are:
cylinders=38913 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=38913 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 7 (0x07),(NTFS, OS/2 HPFS, QNX-2 (16 bit) or Advanced UNIX)
    start 63, size 625137282 (305242 Meg), flag 80 (active)
	beg: cyl 0/ head 1/ sector 1;
	end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

# file -b -L -s /dev/da4
x86 boot sector, Microsoft Windows XP MBR, Serial 0x74362755; partition 1: ID=0x7, active, starthead 1, startsector 63, 625137282 sectors, code offset 0xc0

# file -b -L -s /dev/da4s1
x86 boot sector, Microsoft Windows XP Bootloader NTFS, code offset 0x5b, OEM-ID "NTFS    ", sectors/cluster 8, reserved sectors 0, Media descriptor 0xf8, heads 255, hidden sectors 63, dos < 4.0 BootSector (0x80)

---

# uname -a
FreeBSD MYHOST 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

# pkg info | grep -i ntfs
fusefs-ntfs-2012.1.15          Mount NTFS partitions (read/write) and disk images

# dmesg | tail -10
ugen1.6: <Iomega> at usbus1
umass1: <Iomega External HD, class 0/0, rev 2.00/0.00, addr 6> on usbus1
umass1:  SCSI over Bulk-Only; quirks = 0x4100
umass1:5:1:-1: Attached to scbus5
da4 at umass-sim1 bus 1 scbus5 target 0 lun 0
da4: <ST332082 0A 3.AA> Fixed Direct Access SCSI-0 device 
da4: 40.000MB/s transfers
da4: 305245MB (625142448 512 byte sectors: 255H 63S/T 38913C)
da4: quirks=0x2<NO_6_BYTE>

# grep devd /var/log/messages
Feb  9 00:15:24 MYHOST devd: Executing '/usr/local/sbin/automount da4 attach'

# kldstat -m fuse
Id  Refs Name
  3    1 fuse

Last edited by divel; 8th February 2014 at 10:41 PM. Reason: Adding kldstat
Reply With Quote