From owner-freebsd-hackers Mon Mar 23 22:51:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA02717 for freebsd-hackers-outgoing; Mon, 23 Mar 1998 22:51:57 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA02702 for ; Mon, 23 Mar 1998 22:51:49 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.8.8/8.8.8) with UUCP id HAA05455; Tue, 24 Mar 1998 07:51:49 +0100 (CET) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.8.8/8.8.5) id HAA04640; Tue, 24 Mar 1998 07:42:41 +0100 (MET) Date: Tue, 24 Mar 1998 07:42:41 +0100 (MET) Message-Id: <199803240642.HAA04640@uriah.heep.sax.de> Mime-Version: 1.0 X-Newsreader: knews 0.9.8 Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: In-Reply-To: From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: Determining CDROM volume label... how? X-Original-Newsgroups: local.freebsd.hackers To: freebsd-hackers@FreeBSD.ORG Cc: Charles Owens Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Charles Owens wrote: > Is there a command line tool for doing this? Probably not (except scsi(8)). > There are times where Windows software that's reading my CD (via Samba) > insists that I set the Samba volume label parameter to the CDROM's actual > label. It is a pain to have to stick the CD in a Windows system just to > find out what the label is... What exactly _is_ the label of a CD? Can you express this in terms of bytes from the beginning (of the session, i suppose)? E.g., do this by extracting the label in Win*, and then hd'ing /dev/rcd0a in FreeBSD. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message