Subject: I am so sorry...
To: None <netbsd-help@NetBSD.ORG>
From: David Aubril <david.aubril@ac-nantes.fr>
List: netbsd-help
Date: 02/25/2006 09:04:26
    Yet Another question from a netbsd newbie ( as you noticed ).
    Well, after my keyboard, now it's my usb key...
    I am not able to copy files from my hard drive to my key.
    A all bunch of trash-~1 to 9 appear suddenly on my key, all empty. I 
can't get rid of them. And I can't copy.
    Any Idea ?

    That's what it says.

# cd /mnt/usbkey
# ls
trash-~1 trash-~2 trash-~3 trash-~4 trash-~5 trash-~6 trash-~7 trash-~8
# rm -rf *
# ls
# cd /mnt
# cd /mnt/usbkey
# cp -r /mnt/extended/projets /mnt/usbkey
cp: /mnt/usbkey/projets/ecritures/nt: No such file or directory

    It stops then. Half of the files are not copied.

    Just to give you all the informations:
# dmesg | grep sd0
sd0 at scsibus0 target 0 lun 0: <Sony, Storage Media, 0100> disk removable
sd0: 247 MB, 984 cyl, 16 head, 32 sec, 512 bytes/sect x 506880 sectors
sd0(umass0:0:0:0): generic HBA error
sd0 detached
sd0 at scsibus0 target 0 lun 0: <Sony, Storage Media, 0100> disk removable
sd0: 247 MB, 984 cyl, 16 head, 32 sec, 512 bytes/sect x 506880 sectors
sd0 at scsibus0 target 0 lun 0: <Sony, Storage Media, 0100> disk removable
sd0: 247 MB, 984 cyl, 16 head, 32 sec, 512 bytes/sect x 506880 sectors
# disklabel sd0
# /dev/rsd0d:
type: SCSI
disk: mydisk
label: fictitious
flags: removable
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 16
sectors/cylinder: 512
cylinders: 984
total sectors: 506880
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 d:    506880         0     unused      0     0        # (Cyl.      0 
-    989)
 e:    506848        32      MSDOS                     # (Cyl.      
0*-    989)
disklabel: boot block size 0
disklabel: super block size 0