Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: Scsi devices



On Tue, Mar 02, 1999 at 11:32:18AM +0000, Darren Cook wrote:
> [Jim Tittsler wrote:]
> >... you would have wanted 'mount -t vfat /dev/sda /mnt/mo'  ('fdisk /dev/sda'
> >would give you a hint here.)
> 
> The mount command didn't work (same error about it not being a block

Are you sure you have a kernel that supports 2048 byte sectors on your MO
media?  (Does it work with a 256MB or 512MB disk?) Have you patched an old
kernel or installed a newer one that includes the support?

> partitions. However it seems fdisk is not installed on my machine.

Its gotta be there somewhere... probably in /sbin/fdisk.

> This reminds me of when I was asking about libglide. Is there a good way to
> find out which package I need to install to get a certain library or
> utility? I was thinking of something like a web page, maybe with a search
> function.

The http://www.rpmfind.net/ tool from Daniel Veillard at W3.org is one way.
You can browse it online at http://rufus.w3.org/linux/RPM/ (and then
looking inside RedHat-5.2, and its /sbin directory for fdisk... and then
finding what package provides it).

Alternatively, you can install his rpmfind utility and do:

[jwt@example.com jwt]$ rpmfind --apropos fdisk
Searching the RPM catalog for fdisk ...
1: ftp://rpmfind.net/linux/linuxPPC/linuxppc-R4/RedHat/extra/RPMS/utils-prep-1-2
.ppc.rpm
  utils-prep : misc. PREP utils fdisk, clock, mouse
  
2: ftp://rpmfind.net/linux/contrib/libc6/i386/cfdisk-glibc-0.8g-1.i386.rpm
    cfdisk-glibc : Full-screen, color version of fdisk
    
3: ftp://rpmfind.net/linux/redhat/redhat-5.2/SRPMS/SRPMS/fdisk-2.5-1.src.rpm
  fdisk : Hard disk partitioning tool
  
4: ftp://rpmfind.net/linux/TurboLinux/turbolinux-3.0/RPMS/jfdisk-1.0-1TLJ.i386.r
pm
  jfdisk : Japanese/i18n fdisk partitioning program.
  
5: ftp://rpmfind.net/linux/TurboLinux/turbolinux-3.0/RPMS/sfdisk-3.07-1TL.i386.r
pm
  sfdisk : disk management utility
  
6: ftp://rpmfind.net/linux/linuxPPC/linuxppc-R4/users/hatle/pfdisk-971110-1.ppc.
rpm
  pfdisk : This RPM contains the fdisk and pdisk utilities for (Mk)LinuxPPC
  
  Found 6 packages related to fdisk
  
> While on the mount theme, I've a vfat partition mounted as "/share". It is
> owned by root, and only the owner can write. I tried:
>   #umount /share
>   #chmod og+w /share     (ls -l confirms this worked)
>   #mount /share
> 
> Now it is slightly different - group can write, but still not other users.
> It is "user,rw,auto" in /etc/fstab. Are permissions for mounted directories
> controlled somewhere else?

Remember also that VFAT volumes don't have the concept of separate users...
so when you mount them, you may want to specify the UID/GID of their
"owner." In my /etc/fstab, to control the owner and the permissions, I have:

/dev/hdb1    /old/dosc     vfat noauto,uid=500,gid=500,umask=0077      0 0

-- 
Jim Tittsler, Tokyo   ICQ: 5981586

-------------------------------------------------------------------
Next Nomikai: March 19 (Fri), 19:30  Tengu TokyoEkiMae 03-3275-3691
Next Technical Meeting: April 10 (Sat), 12:30   place: Temple Univ.
-------------------------------------------------------------------
more info: http://tlug.linux.or.jp                     Sponsor: PHT


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links