From owner-freebsd-current Fri Sep 11 11:14:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA07684 for freebsd-current-outgoing; Fri, 11 Sep 1998 11:14:36 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from nomis.simon-shapiro.org (nomis.simon-shapiro.org [209.86.126.163]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA07623 for ; Fri, 11 Sep 1998 11:14:22 -0700 (PDT) (envelope-from shimon@simon-shapiro.org) Received: (qmail 12708 invoked by uid 1000); 11 Sep 1998 19:17:16 -0000 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 11 Sep 1998 15:17:16 -0400 (EDT) X-Face: (&r=uR0&yvh>h^ZL4"-TH61PD}/|Y'~58Z# Gz&BK'&uLAf:2wLb~L7YcWfau{;N(#LR2)\i.l8'ZqVhv~$rNx$]Om6Sv36S'\~5m/U'"i/L)&t$R0&?,)tm0l5xZ!\hZU^yMyCdt!KTcQ376cCkQ^Q_n.GH;Dd-q+ O51^+.K-1Kq?WsP9;cw-Ki+b.iY-5@3!YB5{I$h;E][Xlg*sPO61^5=:5k)JdGet,M|$"lq!1!j_>? $0Yc? Reply-To: shimon@simon-shapiro.org Organization: The Simon Shapiro Foundation From: Simon Shapiro To: Alfred Perlstein Subject: RE: DEVFS questions. Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein, On 11-Sep-98 you wrote: > > is there a way to perhaps mount_union over devfs to keep symlinks and > such? > > also, is there a way to preserve permission changes between reboots? > maybe > a script that would do it based on a file... Put in /etc/rc: if [ -f /etc/dev_modes ] then while read line do node=`echo ${line} | cut -d ' ' -f xxxx` mode=`echo ${line} | cut -d ' ' -f yyyy` type=`echo ${line .... if [ ! -e /dev/${node} ] then mknod ${type} ${major} ${minor} /dev/${node} chmod ${mode} /dev/${node} > > libdisk is still broken with DEVFS/SLICE, barfs on: > ioctl: : Inappropriate ioctl for device > failed on IOCTL disk = /dev/rwd0 errno = 25 > > (i added some debugging stuff to the code) > > disklabel is also b0rked, will not write out to the disk. > > (not being sarcastic) i know DEVFS is quite new, but is it expected to > be > used? or is it something akin to kernfs? > > thanks, > Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com > -- There are operating systems, and then there's FreeBSD. > -- http://www.freebsd.org/ 3.0-current > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message Sincerely Yours, Shimon@Simon-Shapiro.ORG 770.265.7340 Simon Shapiro Unwritten code has no bugs and executes at twice the speed of mouth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message