|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
I noticed that my /media directory has a few directories that are not used. Why and when were they created. Are they legacy from past. I run sid. /media/NIKON D80 /media/RICOHDCX /media/sdd1 each of these directories, which don't seem to be used, has a hidden file named: ..created_by_pmount, why? What are they for? Can I delete them without worrying about them? What created them? Now what is the purpose of these files/directories? They seem to be vestiges of the past. Like appendix or tonsils, or Meckles Diverticula. ********************** As background I have read about pmount, and indeed just tried it out, its very nice. I see that pmount enables me to mount devices not in fstab without being root. thus when i attach a sd memory card from my NIKON D80, I am able to do dmesg|tail SCSI device sde: 1000448 512-byte hdwr sectors (512 MB) sde: Write Protect is off sde: Mode Sense: 02 00 00 00 sde: assuming drive cache: write through SCSI device sde: 1000448 512-byte hdwr sectors (512 MB) sde: Write Protect is off sde: Mode Sense: 02 00 00 00 sde: assuming drive c then i can do pmount /dev/sde1 and i can access it as /media/sde1 similarly I can pumount /media/sde1 without su to root. this is all very nice. ****************** However, I have no idea what created the 3 directories which have these hidden files .created_by_pmount in /media. Moreover, if I attach a sd media card to my machine, I really don't need pmount, (actually I like to have pmount, cause i find it more convenient then using kde ...) because some KDE window opens up that has as a window title NIKON D80-KDE Daemon that offers to open a konqueror window with the directory of the contents of /media/NIKON\ D80-1 which then has the data on my media card. Notice that the /media/NIKON\ D80 directory with the .created_by_pmount file is blocking KDE daemon from creating NIKON\ D80 so it creates instead /media/NIKON\ D80-1! Also I once had a RICOHDCX camera card. This likely is related to the /media/RICOHDCX directory. Note I have no idea where /media/sdd1 comes from, though. I only see in dmesg Vendor: Generic Model: STORAGE DEVICE Rev: 9139 Type: Direct-Access ANSI SCSI revision: 00 sd 6:0:0:0: Attached scsi removable disk sdc Vendor: Generic Model: STORAGE DEVICE Rev: 9139 Type: Direct-Access ANSI SCSI revision: 00 sd 6:0:0:1: Attached scsi removable disk sdd Vendor: Generic Model: STORAGE DEVICE Rev: 9139 Type: Direct-Access ANSI SCSI revision: 00 sd 6:0:0:2: Attached scsi removable disk sde Vendor: Generic Model: STORAGE DEVICE Rev: 9139 Type: Direct-Access ANSI SCSI revision: 00 sd 6:0:0:3: Attached scsi removable disk sdf which probably corresponds to my sandisk usb 4x multitype memory card reader, but there is no device /dev/sdc1 on the machine by dmesg or fdisk -l. So to summarize, can I blow away these 3 directories and what created them? Thanks, Mitchell Laks -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Am 2007-05-31 19:16:51, schrieb Mitchell Laks:
> What are they for? > Can I delete them without worrying about them? What created them? > Now what is the purpose of these files/directories? <snip> > So to summarize, can I blow away these 3 directories and what created them? ----8<------------------------------------------------------------------ [root@michelle1.private:~/] pmount -- Usage: pmount [options] <device> [<label>] Mount <device> to a directory below /media/ if policy requirements are met (see pmount(1) for details). If <label> is given, the mount point will be /media//<label>, otherwise it will be /media/<device>. If the mount point does not exist, it will be created. <snip> ----8<------------------------------------------------------------------ Thanks, Greetings and nice Day Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFGdU/SC0FPBMSS+BIRArQfAKCXDvvHXN/aeSFPaRY/4adiS5y0RwCfSp/O Wr+OfSzWbWfFnYvjOaICVwI= =GwLl -----END PGP SIGNATURE----- |
|
![]() |
| Outils de la discussion | |
|
|