[Tfug] How do you remove a file from a USB vfat - in c

jblais joe.blais at pti-instruments.com
Thu Nov 8 13:39:29 MST 2007


Rob -
I do notice that when I delete files - the "mousey" way, they get moved to
.Trash-user -- but empty trash needs to be able to nuke stuff too....
Joe

> -----Original Message-----
> From: tfug-bounces at tfug.org [mailto:tfug-bounces at tfug.org]On Behalf Of
> Robert Hunter
> Sent: Thursday, November 08, 2007 12:57 PM
> To: Tucson Free Unix Group
> Subject: Re: [Tfug] How do you remove a file from a USB vfat - in c
>
>
> On Nov 8, 2007 12:41 PM, jblais <joe.blais at pti-instruments.com> wrote:
> > I'm trying that now.  IN the clib reference it shows unlink()
> and rmdir(),
> > and at the bottom it lists remove() as the ISO C standard for
> both unlink
> > and rmdir -- but, you never know....
>
> Hi, Joe.  A few questions: Does remove() return an error?  Is the
> filesystem mounted in a peculiar way?  Have you tried "strace-ing"
> the code?
>
> --
> RH
>
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>
>





More information about the tfug mailing list