DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd July 2009
gosha gosha is offline
Spam Deminer
 
Join Date: Jun 2008
Location: China
Posts: 256
Default /dev/cd0 many megabytes

I have a root partition of only 100m, as I always did. I just found out that the filesystem was full, and discovered this:
Code:
# ls -lah cd0
-rw-r--r--  1 root  wheel  53.2M Jul 20 04:06 cd0
How can I solve this?
tks
Reply With Quote
  #2   (View Single Post)  
Old 23rd July 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

That looks like some file that you made accidentally or some other program created.. it is not a device node, nor is it a file that exists on a 4.5 installation.

Copy it to your home directory, delete it from /dev, then try using file(1) to determine the contents, or examine it using a hex editor.. most likely it's data that was piped there by mistake.

I wouldn't worry about it.. delete it.
Reply With Quote
  #3   (View Single Post)  
Old 23rd July 2009
gosha gosha is offline
Spam Deminer
 
Join Date: Jun 2008
Location: China
Posts: 256
Default

Code:
$ file cd0
cd0: ISO 9660 CD-ROM filesystem data UDF filesystem data (unknown version, id 'NSR0
Thank you
probably it was something with my external cdrom that does not work so good.
Reply With Quote
  #4   (View Single Post)  
Old 23rd July 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Your external CD-ROM could not possibly save an ISO encoded file in your /dev hierarchy, even if it "does not work so good".

What's more likely is that you had the argument order wrong for some "CD ripper" application and accidentally saved the outputted file in /dev.

Please stop running applications as root.. it's very rarely necessary.
Reply With Quote
  #5   (View Single Post)  
Old 23rd July 2009
gosha gosha is offline
Spam Deminer
 
Join Date: Jun 2008
Location: China
Posts: 256
Default

oh, probably I messed something with dd trying to make a copy of a cdrom
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:01 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick