Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 442690

Summary: sys-apps/baselayout: share.BSD/fstab device names have changed with FreeBSD 9.0
Product: Gentoo Linux Reporter: Yuta SATOH <nigoro.dev>
Component: [OLD] baselayoutAssignee: William Hubbs <williamh>
Status: RESOLVED FIXED    
Severity: enhancement CC: base-system, bsd+disabled
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for share.BSD/fstab

Description Yuta SATOH 2012-11-11 09:16:41 UTC
Device name has changed since FreeBSD 9.0.
Please update share.BSD/fstab

ATA HDD
ad0 --> ada0

ATA CD-ROM
acd0 --> cd0


Reproducible: Always




# dmesg | grep ada0
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: <VMware Virtual IDE Hard Drive 00000001> ATA-4 device
ada0: 33.300MB/s transfers (UDMA2, PIO 32768bytes)
ada0: 11264MB (23068672 512 byte sectors: 15H 63S/T 16383C)
ada0: Previously was known as ad0

# dmesg | grep cd
cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0: <NECVMWar VMware IDE CDR10 1.00> Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
Comment 1 Yuta SATOH 2012-11-11 09:23:26 UTC
Created attachment 329188 [details, diff]
patch for share.BSD/fstab

Patch for changing the device name.
Comment 2 SpanKY gentoo-dev 2012-11-12 18:11:34 UTC
needs an ACK from the BSD team
Comment 3 Naohiro Aota gentoo-dev 2012-11-12 22:39:21 UTC
Seems fine. But how about using "/dev/ROOT" and "/dev/SWAP" like share.Linux/fstab ?
Comment 4 William Hubbs gentoo-dev 2016-08-26 17:17:26 UTC
I made the device names generic -- /dev/root /dev/swap and /dev/cdrom.
This will be in baselayout--2.3.
The commit id is b5f197f.