Re: How to auto-mount a ntfs partition on a TazUSB Slitaz? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: slitaz@xxxxxxxxxxxxxxxxxxx
- Subject: Re: How to auto-mount a ntfs partition on a TazUSB Slitaz?
- From: Allan Pinto <allan316@xxxxxxxxx>
- Date: Fri, 19 Feb 2010 03:17:59 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=mW2bDqvDJ/pllXeWuh7PXLwTbm07tJSvPsCi65yq1bg=; b=qSa9cnMC2hgae2lVWb8WnZmO4+r7kMcyJYbrcdCJnrwkamsaWKDKKvmfhyng6MaTzH T6zhUgrwyY6zqmjoK85nNniAuDIIy4Q3Ame18UO+WtWB3uJgk7qjWRiuFiZd9TCZxXbG +cUzaaV2p3Q7SlVSjSjmGAfBynYaaJbXmtlnE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=eHDfZ2d3yzhS1VBmjgfDqmMLaFFe/EYeFxc2jePWLgDwIVDKhrdJG3U7itZYZvNEWs gY92u0EQg7KfWiA8Mkq9tGPlqq+tGpDrBIf/73cgVfwmdv40wY1Yy/EM3QZ9E0oE3akn 8fBuy1leXBu5oBa/FyCOi4AXxo6+A8BwmeR0s=
hi,
what i have done is, create a file mount.sh in /etc/init.d , chmod +x
it, and add it in /etc/rcS.conf in the run_scripts="" section , this
will make it run everytime you start the pc/laptop.
also i made a directory called windows in the /media folder.
contents of mount.sh is
#!/bin/sh
ntfs-3g /dev/sda2 /media/windows
# add here any other partition you want to mount,
On Fri, Feb 19, 2010 at 1:24 AM, Rodrigo Tenorio
<rodrigo.boechat.tenorio@xxxxxxxxx> wrote:
> Hello,
>
> I'm using Slitaz [TazUSB] in a hd/usb, partitioned as follows:
>
> Sdb1 - EXT3
> Sdb2 - NTFS
> Sdb3 - SWAP
>
> I tried to make the partition sdb2 be mounted automatically at /mnt/sdb2 folder.
> But I had no success editing the fstab file.
> And after much thought, I remembered that if the computer does not have an
> SataHD, probably my external drive would be recognised as SDA.
> Then I realised that perhaps a script was needed.
>
> So please, someone help me with the script? Or someone could tell me how to do?
> And where I put the script to run automatically? I did not find the
> /etc/init.d folder.
>
> Thanks,
> Rodrigo Boechat
>
> ---
> SliTaz GNU/Linux Mailing list - http://www.slitaz.org/
>
>
--
Thanx and regd's.
Allan.
http://www.in2dwok.com
---
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/