Welcome to Our Dreambox World - Japhar Sim - SuperSim
Forum Stats
12652 Members
237 Forums
7955 Topics
24412 Posts

Max Online: 15217 @ 04/11/26 09:25 PM
Newest Members
theoharaclan, miri, islam hassan, cawgkw, bss.help
12652 Registered Users
Who's Online
3 registered (Admin, Toysoft, mayllopl), 451 Guests and 44 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Top Posters
Admin 10140
Toysoft 2739
satsedhu 1713
fairbird 765
ludo19 442
Top Posters (30 Days)
Admin 14
Toysoft 5
Crapachino 3
OMEGA 2
maugia 2
July
M Tu W Th F Sa Su
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Topic Options
#56 - 06/29/11 07:53 AM Finding/Mounting your USB Memory stick / Pendrive
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 10140
Finding/Mounting your USB Memory stick / Pendrive
(using TELNET)


- Use to find it : fdisk -l

What you will see (hdd installed sda, and pendrive sdc) :

root@dm800:~# fdisk -l

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 7296 58605116 83 Linux

Disk /dev/sdb: 4059 MB, 4059561984 bytes
229 heads, 32 sectors/track, 1081 cylinders
Units = cylinders of 7328 * 512 = 3751936 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1082 3964400 b Win95 FAT32

- As you can see the USB device is on /dev/sdc1

- To initialize (to ext3), one time only needed :
mkfs.ext3 /dev/sdb1

- Mounting the External File System / Pendrive
mount /dev/sdb1 /mnt/usb

The line mounts the device at the /dev/sdb1 location to the
/mnt/usb directory. If you want to mount it as hdd then you just need to send command : mount /dev/sdb1 /mnt/hdd

Now you can reference your pendrive from the command line
using the folder /mnt/usb.

Now your pendrive will be available at cd /media/usb/

- Unmount if you don't use :
umount -f -l /mnt/usb

- See memory amount on devices : df -h (this only once mounted)


- Automount In the Terminal

To have your pendrive mount each time your server is restarted, you must edit your /etc/fstab file. Simply add at the bottom of your /etc/fstab file:

/dev/sdb1 /mnt/usb ext3 defaults 0 0

The first argument (/dev/sdb1) tells the system what device to mount, and the second argument (/mnt/usb) tells the system where to mount it. The third argument is the filesystem type (ext3). The fourth argument (defaults) tells the system what options to apply to the device, so in this case we�ll just use the defaults. The fifth and sixth arguments (both zeros) tell the system if the filesystem should be backed up using the dump utility, and the second zero tells the system whether to process the device when fsck is run. We can leave them both to zero for now.
_________________________

Top
#68 - 06/29/11 11:20 AM Re: Finding/Mounting your USB Memory stick / Pendrive [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 10140
Enjoy !

Admin
_________________________

Top


Moderator:  fairbird, gaga24, ludo19 
New Topics
Home made USB on DM800HDse / DM800HDseV2
by Admin
07/28/26 11:35 PM
Wifi for DM800HDse/DM800HDsev
2

by Admin
07/28/26 08:35 PM
Amazon Leo readies 5K satellites for D2D plan
by Admin
07/28/26 01:50 PM
DM800HDseV2 : OpenATV 7.3 20240628
by Admin
07/21/26 02:07 PM
DM800HDseV2 : OpenATV 7.5 20241226
by Admin
07/21/26 02:07 PM
DM7020HDv2 : OpenATV 7.6.0 20260719
by Admin
07/21/26 01:51 PM
DM7020HDv2 : OpenATV 7.5 20241226
by Admin
07/21/26 01:48 PM
DM7020HDv2 : OpenATV 7.3 20240628
by Admin
07/21/26 01:46 PM
DM800HDseV2 : OpenATV 7.6.0 20260719
by Admin
07/20/26 11:44 AM
La Cour de justice de l'UE décide : les services..
by Admin
07/15/26 10:07 PM
un caro saluto a tutti
by maugia
07/14/26 04:08 PM
E& offloads Vodafone stake to telecoms tycoon Niel
by Admin
07/10/26 02:28 PM